<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"	
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

	<p:accordionPanel multiple="true" >
		<p:tab title="#{msgs.BasicData}"  closable="false">
			<h:panelGrid columns="2" cellpadding="2">
				<p:outputLabel  value="#{msgs.CicleBegin} :"/>
				<h:outputText value="#{scheduleBean.selCycle.microCycles[0].beginDate}">
					<f:convertDateTime locale="pt" dateStyle="long" pattern="dd/MM/yyyy HH:mm"  timeZone="Brazil/East"/>
				</h:outputText> 
	
				<p:outputLabel value="#{msgs.CicleEnd} :"/>
				<h:outputText value="#{scheduleBean.selCycle.microCycles[fn:length(scheduleBean.selCycle.microCycles)-1].endDate}">
					<f:convertDateTime locale="pt" dateStyle="long" pattern="dd/MM/yyyy HH:mm"  timeZone="Brazil/East"/>
				</h:outputText>
			</h:panelGrid>
		</p:tab>
		<p:tab title="#{msgs.RelatedCycles}" closable="false">  
					
		</p:tab>
	</p:accordionPanel>	
</html>